﻿using System;

namespace Wicresoft.CustomerAttributes
{
    public class ARFieldAttribute : Attribute
    {
        public ARFieldAttribute(int id, ARDataType type) 
        {
            this.Id = id;
            this.Type = type;
            this.AllowModify = true;
            this.MaxLength = 0;
        }

        public bool AllowModify { get; set; }

        public int Id { get; set; }

        public int MaxLength { get; set; }

        public ARDataType Type { get; set; }
    }
}
